package com.just.just_bankreputationsystem.Model;

import lombok.Data;

import java.util.List;

@Data
public class Page {
    private int pageNum; //总页数
    private int pageSize; //每页大小(每页显示的条数)
    private List<Bank> content;

    public Page(){}

    public Page(int pageNum, int pageSize, List<Bank> content){
        this.pageNum = pageNum;
        this.pageSize = pageSize;
        this.content = content;
    }

    @Override
    public String toString() {
        return "Page{" +
                "pageNum=" + pageNum +
                ", pageSize=" + pageSize +
                ", content=" + content +
                '}';
    }
}
